package student;

import java.util.List;

public interface StudentDao {
	boolean insert(Student student);
	boolean deleteById(int id);
	boolean update(Student student);
	Student selectById(int id);
	// 查所有
	List<Student> selectAll();
	// 根据班级名查询
	List<Student> selectByClass(String className);
	// 根据成绩降序排序
	List<Student> orderByScoreDesc();
}
